#ifndef CLIENT_H
#define CLIENT_H

#include <QDebug>
#include <QTcpSocket>
#include <QHostAddress>
#include <QObject>

class Client
{
public:
    Client();
    void sendMsg(QString command);
    void connectToHost();
    void onConnected();
    void disConnect();
private:
    QTcpSocket *tcpSocket;
    QHostAddress serverIp;
    quint16 serverPort;
};

#endif // CLIENT_H
